package com.sys.platform.mapper;

import com.sys.platform.entity.Favorites;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;
import tk.mybatis.mapper.common.IdsMapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * 收藏夹Mapper接口
 *
 * @author yuanfuqiang
 * @date 2024-08-08
 */
public interface FavoritesMapper extends BaseMapper<Favorites>, MySqlMapper<Favorites>, IdsMapper<Favorites> {

    List<Favorites> selectFavoritesList(Favorites favorites);

    List<Favorites> selectByParentIds(@Param("parentIds") Long[] parentIds);

}
